<div class="panel panel-primary">
    <div class="panel-heading">
        <h4 class="panel-title">
            <a data-toggle="collapse" data-parent="#accordion" href="#thongtinchucvu">
                <i class="glyphicon glyphicon-pencil"></i>&nbsp;Thông tin chức vụ kiểm tra
            </a>
        </h4>
    </div>
    <div class="panel-collapse collapse in" id="thongtinchucvu">        
        {{ Form::open(array('url'=>'store=dschucvu','method'=>'post','class'=>'form-horizontal','role'=>'form')) }} 
        <table class="table" cellspacing="0" cellpadding="0" style="margin-bottom: 0px">
            <tr>
                <td>
                    <label for="macv" class="col-sm-3 control-label">Mã chức vụ:</label>
                    <div class="col-sm-4">
                        {{ Form::text('macv', $row->MA_CV, array('placeholder' => 'Nhập mã chức vụ','class'=>'form-control','required'=>'','pattern'=>'{1,50}')) }}
                    </div>
                </td>
            </tr>  
            <tr>
                <td>
                    <label for="tencv" class="col-sm-3 control-label">Tên chức vụ:</label>
                    <div class="col-sm-9">
                        {{ Form::hidden('id',$row->ID)}}
                        {{ Form::text('tencv',$row->TEN_CV,array('placeholder' => 'Nhập tên chức vụ','class'=>'form-control','required'=>'','pattern'=>'{1,60}')) }}
                    </div>
                </td>
            </tr>  
            <tr>                      
                <td align="center">  
                    <button class="btn btn-success" type='submit' title="Lưu chức vụ"><span class="glyphicon glyphicon-floppy-save">&nbsp;</span>Lưu thay đổi</button>&nbsp;&nbsp;
                    <a class="btn btn-default" id="back_id" href="{{url('ql=dschucvu')}}" title="Quay lại danh sách chức vụ"><span class="glyphicon glyphicon-arrow-left">&nbsp;</span>Quay lại</a>
                </td>
            </tr>
        </table>
        {{Form::close()}}
    </div>
</div>
@if (Session::has('success'))
<script type="text/javascript">
    toastr.success('{{Session::get('success')}}');</script>
@endif
@if (Session::has('error'))
<script type="text/javascript">
            toastr.error('{{Session::get('error')}}');
</script>
@endif